export default {
  API: {
    LOGIN: '/auth/login',
    GET_USER_INFO: '/auth/user/query',
    LOGOUT: '/auth/logout',
    GET_FOTA_SERVERS: '/servers/query',
    GET_PKG_LIST: '/pkg/query',
    EXIST_PKG_BY_PRODUCT_AND_NAME: '/pkg/exist',
    INSERT_PKG: '/pkg/insert',
    UPDATE_PKG: '/pkg/update',
    DELETE_PKG: '/pkg/delete',
    GET_ALL_PRODUCT_LIST: '/product/query',
    GET_PRODUCT_LIST: '/product/query/filter',
    GET_VERSIONS_BY_PRODUCT: '/product/query/versions',
    GET_VERSIONS_LIST: '/product/query/versions/filter',
    GET_PLAN_INFO_LIST: '/plan/query/info',
    GET_PLAN_NAME_LIST: '/plan/query/name',
    EXIST_PLAN_BY_NAME: '/plan/exist',
    INSERT_PLAN: '/plan/insert',
    UPDATE_PLAN: '/plan/update',
    DELETE_PLAN: '/plan/delete',
    GET_LOG_LIST: '/log/query',
    DELETE_LOG: '/log/delete',
    EXPORT_LOG: '/log/export',
    GET_SYS_LOG: '/syslog/query',
    DOWNLOAD_SYS_LOG: '/syslog/download'
  },
  STATUS: {
    STATUS_OK: 200,
    STATUS_ERROR: 400,
    STATUS_FORBIDDEN: 403,
    STATUS_UNAUTHORIZED: 401
  },
  LOG_TYPE: {
    QUERY: 1,
    DOWNLOAD: 2
  },
  EXPORT_TYPE: {
    ALL: 2000,
    YTL: 2001
  },
  ROLE: {
    ALL_ALLOW: 'ALL_ALLOW',
    ADMIN: 'ROLE_ADMIN',
    TEST: 'ROLE_TEST'
  }
}
